package com.qfedu.dao;

import com.qfedu.entity.Billinfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BillDao extends JpaRepository<Billinfo,Long> {

    List<Billinfo> findAllByBillState(String billState);

    List<Billinfo> findAll();

    Billinfo findByBillCode(String billCode);

    Billinfo save(Billinfo billinfo);
}
